package com.news.di.component;

import android.app.Activity;

import com.news.di.module.FragmentModule;
import com.news.di.scopes.FragmentScope;
import com.news.ui.main.fragment.JokeFragment;
import com.news.ui.main.fragment.NewsFragment;

import dagger.Component;

/**
 * Created by Administrator on 2017/3/1 0001.
 */

@FragmentScope
@Component(modules = FragmentModule.class, dependencies = AppComponent.class)
public interface FragmentComponent {
    Activity getActivity();

    void inject(JokeFragment jokeFragment);

    void inject(NewsFragment newsFragment);
}
